home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
•The School House•
/
QuizMaster v.10 •••
/
QuizMaster V1.0
/
QuizMaster V1.0.rsrc
/
CODE_10287_GetPicture.txt
< prev
next >
Wrap
Text File
|
1988-10-21
|
2KB
|
43 lines
# near model CODE resource
# this CODE claims to have no jump table entries (but starts at 0008)
00000000 4E56 0000 link A6, 0
00000004 4EAD 002A jsr [A5 + 0x2A /* export_1 */]
00000008 0C00 0003 cmpi.b D0, 0x3
0000000C 6600 003C bne +0x3E /* 0000004A */
00000010 3C12 move.w D6, [A2]
00000012 4EAD 002A jsr [A5 + 0x2A /* export_1 */]
00000016 0C00 0003 cmpi.b D0, 0x3
0000001A 6600 002E bne +0x30 /* 0000004A */
0000001E 3812 move.w D4, [A2]
00000020 4EAD 002A jsr [A5 + 0x2A /* export_1 */]
00000024 0C40 0004 cmpi.w D0, 0x4
00000028 6600 0020 bne +0x22 /* 0000004A */
0000002C 264A movea.l A3, A2
0000002E 3F06 move.w -[A7], D6
00000030 3C38 0A5A move.w D6, [0x00000A5A /* CurMap */]
00000034 A998 syscall UseResFile
00000036 42A7 clr.l -[A7]
00000038 3F04 move.w -[A7], D4
0000003A A9BC syscall GetPicture
0000003C 3F06 move.w -[A7], D6
0000003E A998 syscall UseResFile
00000040 269F move.l [A3], [A7]+
00000042 6712 beq +0x14 /* 00000056 */
00000044 4E5E unlink A6
00000046 7000 moveq.l D0, 0x00
00000048 4E75 rts
label0000004A:
0000004A 4E5E unlink A6
0000004C 343C 000D move.w D2, 0xD /* '\r' */
00000050 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00000054 4E75 rts
label00000056:
00000056 4E5E unlink A6
00000058 343C 0005 move.w D2, 0x5
0000005C 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00000060 4E75 rts
00000062 4E5E unlink A6
00000064 343C 000E move.w D2, 0xE
00000068 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
0000006C 4E75 rts